package com.chanta.client.services;

import com.chanta.shared.ChantaException;
import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * TODO Please comment this class..
 * 
 * @author Hakan Özdemir - Vendoo Inc.
 * @date 25.10.2013
 * 
 */
public interface UserRegistrationServiceAsync {

	public void login(String username, String password, AsyncCallback<String> callback)
			throws IllegalArgumentException;

	public void createUser(String username, String password, AsyncCallback<Boolean> callback)
			throws ChantaException;
}
